/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uni.lpoo.model;

import java.util.Calendar;
import java.util.GregorianCalendar;

/**
 *
 * @author lucero
 */
public class fechaModel {

    public String fecha(){
    Calendar c = new GregorianCalendar();
    String dia, mes, annio;
    dia  = Integer.toString(c.get(Calendar.DATE));
    mes  = Integer.toString(c.get(Calendar.MONTH));
    annio  = Integer.toString(c.get(Calendar.YEAR));
    System.out.println (dia + "/" + mes +"/" + annio);
    return "";
    }
		  
}
